﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Besiege
{
    class Data
    {
        /// <summary>
        /// 围城状态信息
        /// </summary>
        public struct StatInfo
        {
            public StatInfo(string d, int e, float l)
            {
                desc = d;
                effect = e;
                loss = l;
            }
            /// <summary>
            /// 结果描述
            /// </summary>
            public string desc;
            /// <summary>
            /// 影响
            /// </summary>
            public int effect;
            /// <summary>
            /// 守军损失
            /// </summary>
            public float loss;
        }
        /// <summary>
        /// 围城状态表
        /// </summary>
        public static List<StatInfo> siegeStatus = new List<StatInfo>
        {
            new StatInfo("未分胜负",0,0),
            new StatInfo("补给短缺",1,0.01f),
            new StatInfo("食物短缺",2,0.03f),
            new StatInfo("饮水短缺",3,0.05f),
            new StatInfo("守军逃亡",2,0.10f),
            new StatInfo("守军投降",0,0)
        };
        
    }
}
